# -- coding: utf-8 --
# @File : CreateDBInterface.py
# @Time : 2024/8/19
# @Author : RLH
# 功能描述: 创建数据库对象， 工厂类
from core.Operation_DB.Mysql_DB import MysqlDatabase

class CreateDBInterface:
    @staticmethod
    def create_DB_object():
        pass

class Create_Mysql_DB(CreateDBInterface):
    @staticmethod
    def create_DB_object(host=None, port=None, user=None, password=None, db=None):
        mysql_db = MysqlDatabase(host, port, user, password, db)
        return mysql_db



